.class public Lcom/example/m6wmr/RefundActivity;
.super Landroid/app/Activity;
.source "RefundActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/example/m6wmr/RefundActivity$mOncliclisetener;
    }
.end annotation


# instance fields
.field private activities:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Landroid/app/Activity;",
            ">;"
        }
    .end annotation
.end field

.field private contentValues:Landroid/content/ContentValues;

.field private context:Landroid/content/Context;

.field private cursor:Landroid/database/Cursor;

.field private db:Landroid/database/sqlite/SQLiteDatabase;

.field private ll_refund_closebtn:Landroid/widget/LinearLayout;

.field private m:Lmyapp/MyApp;

.field private openHelper:Ldbclass/DBOpenHelper;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 21
    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    return-void
.end method

.method private initData()V
    .locals 2

    .prologue
    .line 41
    invoke-virtual {p0}, Lcom/example/m6wmr/RefundActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    check-cast v0, Lmyapp/MyApp;

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->m:Lmyapp/MyApp;

    .line 42
    iput-object p0, p0, Lcom/example/m6wmr/RefundActivity;->context:Landroid/content/Context;

    .line 43
    iget-object v0, p0, Lcom/example/m6wmr/RefundActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v0}, Lmyapp/MyApp;->getActivity()Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->activities:Ljava/util/ArrayList;

    .line 44
    iget-object v0, p0, Lcom/example/m6wmr/RefundActivity;->activities:Ljava/util/ArrayList;

    invoke-virtual {v0, p0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    .line 45
    new-instance v0, Ldbclass/DBOpenHelper;

    iget-object v1, p0, Lcom/example/m6wmr/RefundActivity;->context:Landroid/content/Context;

    invoke-direct {v0, v1}, Ldbclass/DBOpenHelper;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->openHelper:Ldbclass/DBOpenHelper;

    .line 46
    iget-object v0, p0, Lcom/example/m6wmr/RefundActivity;->openHelper:Ldbclass/DBOpenHelper;

    invoke-virtual {v0}, Ldbclass/DBOpenHelper;->getReadableDatabase()Landroid/database/sqlite/SQLiteDatabase;

    move-result-object v0

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->db:Landroid/database/sqlite/SQLiteDatabase;

    .line 47
    new-instance v0, Landroid/content/ContentValues;

    invoke-direct {v0}, Landroid/content/ContentValues;-><init>()V

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->contentValues:Landroid/content/ContentValues;

    .line 49
    return-void
.end method

.method private initView()V
    .locals 1

    .prologue
    .line 35
    const v0, 0x7f0c0125

    invoke-virtual {p0, v0}, Lcom/example/m6wmr/RefundActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/example/m6wmr/RefundActivity;->ll_refund_closebtn:Landroid/widget/LinearLayout;

    .line 37
    return-void
.end method

.method private setoncliclistener()V
    .locals 3

    .prologue
    .line 71
    iget-object v0, p0, Lcom/example/m6wmr/RefundActivity;->ll_refund_closebtn:Landroid/widget/LinearLayout;

    new-instance v1, Lcom/example/m6wmr/RefundActivity$mOncliclisetener;

    const/4 v2, 0x0

    invoke-direct {v1, p0, v2}, Lcom/example/m6wmr/RefundActivity$mOncliclisetener;-><init>(Lcom/example/m6wmr/RefundActivity;Lcom/example/m6wmr/RefundActivity$mOncliclisetener;)V

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 72
    return-void
.end method


# virtual methods
.method protected onCreate(Landroid/os/Bundle;)V
    .locals 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 54
    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    .line 55
    const v1, 0x7f030034

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/RefundActivity;->setContentView(I)V

    .line 57
    invoke-direct {p0}, Lcom/example/m6wmr/RefundActivity;->initData()V

    .line 59
    invoke-direct {p0}, Lcom/example/m6wmr/RefundActivity;->initView()V

    .line 61
    invoke-direct {p0}, Lcom/example/m6wmr/RefundActivity;->setoncliclistener()V

    .line 62
    invoke-virtual {p0}, Lcom/example/m6wmr/RefundActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    check-cast v1, Lmyapp/MyApp;

    iput-object v1, p0, Lcom/example/m6wmr/RefundActivity;->m:Lmyapp/MyApp;

    .line 63
    const v1, 0x7f0c0124

    invoke-virtual {p0, v1}, Lcom/example/m6wmr/RefundActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    .line 64
    .local v0, "top":Landroid/widget/LinearLayout;
    iget-object v1, p0, Lcom/example/m6wmr/RefundActivity;->m:Lmyapp/MyApp;

    invoke-virtual {v1}, Lmyapp/MyApp;->getAppcolor()Ljava/lang/String;

    move-result-object v1

    const-string v2, "1"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    .line 65
    const v1, 0x7f070026

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setBackgroundResource(I)V

    .line 67
    :cond_0
    return-void
.end method
